package com.aoip.telemetry.telemetry.entity.pipeline;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

/**
 * @author chenbai
 * @version 1.0
 * @date 2021/11/29 11:47
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@Builder
@TableName("handle_table_config")
@ApiModel(description = "处理器类与表关联关系配置表")
public class HandleTableConfigEntity {

    @TableId(value = "handle_name", type = IdType.NONE)
    @ApiModelProperty("处理器名称")
    private String handleName;

    @TableField(value = "table_name")
    @ApiModelProperty("处理器表名称，遥测库")
    private String tableName;

    @TableField(value = "order_field")
    @ApiModelProperty("处理器表名称，遥测库")
    private String orderField;

    @TableField(value = "valid_field")
    @ApiModelProperty("处理器表名称，遥测库")
    private String validField;

    @TableField(value = "del_field")
    @ApiModelProperty("处理器表名称，遥测库")
    private String delField;


}
